package org.kl.bpm.repository.conf;

import java.util.List;

import org.kl.bf.repository.BasicRepository;
import org.kl.bpm.entity.conf.BpmProcess;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

public interface BpmProcessDao extends BasicRepository<BpmProcess, String>, JpaSpecificationExecutor<BpmProcess> {
	List<BpmProcess> findByBpmCategoryId(String bpmCategoryId);

	BpmProcess findByBpmConfBaseProcessDefinitionKey(String processDefinitionKey);

	BpmProcess findByBpmConfBaseProcessDefinitionId(String processDefinitionId);
}
